function fmtSecToMin(tar:number) {
  let result = ''
  let min = parseInt(String(tar / 60))
  let sec = parseInt(String(tar - 60 * min))
  if (sec < 10) {
    result = min + ':' + '0' + sec
  } else {
    result = min + ':' + sec
  }
  return result
}
export { fmtSecToMin }
